package abstractfactory.concretefactory;

import abstractfactory.abstractfactory.AbstractFactory;
import abstractfactory.human.BlackMan;
import abstractfactory.human.BlackWoman;
import abstractfactory.human.Human;

/**
 * @author heyuduo
 * @date 2022/7/3 20:39
 */
public class BlackHumanFactory extends AbstractFactory {

    @Override
    public Human createMan() {
        return new BlackMan();
    }

    @Override
    public Human createWoman() {
        return new BlackWoman();
    }


}
